
const version = '壹点零';

const pure = Object.create(null);

Object.defineProperty( pure, 'name', {
    value: '玄字一号', enumerable: true, writable: false, configurable: false
});

Object.defineProperty( pure, 'show', {
    value: function(){
        console.log( '模块名称: ', pure.name );
        console.log( '模块版本: ', version );
        console.log( `这是${pure.name}模块的${version}版` );
    }, 
    enumerable: true, 
    writable: false, 
    configurable: false
});

// 通过修改 module.exports 属性值的方式将整个pure对象导出
module.exports = pure;